package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.common.BaseResponse;
import com.yupi.springbootinit.model.dto.interfacesubmit.InterfaceSubmitAddRequest;
import com.yupi.springbootinit.model.dto.interfacesubmit.InterfaceSubmitQueryRequest;
import com.yupi.springbootinit.model.dto.interfacesubmit.InterfaceSubmitUpdateRequest;
import com.yupi.springbootinit.model.entity.InterfaceSubmit;
import com.yupi.springbootinit.model.vo.InterfaceSubmitVO;

import javax.servlet.http.HttpServletRequest;

/**
* @author Administrator
* @description 针对表【interface_submit(接口审核表)】的数据库操作Service
* @createDate 2025-04-17 13:19:04
*/
public interface InterfaceSubmitService extends IService<InterfaceSubmit> {

    BaseResponse<Boolean> addInterfaceSubmit(InterfaceSubmitAddRequest addRequest, HttpServletRequest request);

    BaseResponse<Boolean> deleteInterfaceSubmit(Long id);

    BaseResponse<Boolean> updateInterfaceSubmit(InterfaceSubmitUpdateRequest updateRequest);

    BaseResponse<Page<InterfaceSubmitVO>> listInterfaceSubmit(InterfaceSubmitQueryRequest interfaceSubmitQueryRequest);

    BaseResponse<InterfaceSubmit> getInterfaceSubmitDetail(Long id);

    BaseResponse<Page<InterfaceSubmitVO>> getInterfaceSubmitVO(InterfaceSubmitQueryRequest queryRequest, HttpServletRequest request);
}
